<template>
    <div>
      <el-button type="primary" @click="test">测试</el-button>
    </div>
</template>

<script>
  import { login, logout, getInfo } from '@/api/user'

    export default {
        name: "index",
      methods:{
          test(){
            getInfo().then(res => {

            }).catch(err => {

            })
          }
      }
    }
</script>

<style scoped>

</style>
